#include<iostream>  
using namespace std;
int main() 
{
    int i,a;
    a = 1;
    for(i=9;i>=1;i=i-1){
       a = (a+1)*2;
       }
    cout<<a;
    return 0;
}